﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Site.Master" AutoEventWireup="true"
    CodeBehind="ResetPassword.aspx.cs" Inherits="SharingCenter.Web.Account.ResetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    重置您的密码
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <div class="ctn-box-w">
        <div style="width: 550px;" class="ctn-box">
            <h1 class="w5">
                <asp:Image Width="16" ID="Image1" runat="server" AlternateText="" ImageUrl="~/Content/images/icons/key_16.png" />
                重置密码</h1>
                <asp:UpdatePanel runat="server" ID="UpdatePanel1">
                    <ContentTemplate>
                         <asp:Wizard DisplaySideBar="false" Width="100%" ID="Wizard1" runat="server" 
                ActiveStepIndex="0" StartNextButtonType="Link">
                <StartNavigationTemplate>
                    <div class="actionarea">
                    <asp:Button ID="Button1" runat="server" CommandName="MoveNext" 
                        CssClass="button" Text="下一步" ValidationGroup="reset" />
                        </div>
                </StartNavigationTemplate>
                <WizardSteps>
                    <asp:WizardStep StepType="Start" AllowReturn="False" Title="Email">
                        <myuc:MessageBox ID="msgError" runat="server" MessageType="Error" Visible="false" />
                        <myuc:MessageBox ID="MessageBox1" runat="server" Text="请填写您注册的E-Mail地址，系统会自动生成一个新密码，发送到该E-Mail中。" />
                        <table class="tb-full">
                            <tr>
                                <td>
                                    帐号 (E-mail):
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEmail" runat="server" TabIndex="1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtEmail" Display="Dynamic" ValidationGroup="reset"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td colspan='2'>
                                    <myuc:ValidationCode TabIndex="2" runat="server" ID="ValidateionCode1" ValidationGroup="reset" />
                                </td>
                            </tr>
                        </table>
                    </asp:WizardStep>
                    <asp:WizardStep StepType="Finish" Title="SendPassword">
                        <div class="hltext">
                            密码已经发送至：<%=this.email %>，请及时查收并修改密码。
                        </div>
                    </asp:WizardStep>
                </WizardSteps>
                <NavigationButtonStyle CssClass="button" />
                <FinishNavigationTemplate>
                    <div class="actionarea">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/" CssClass="button">回到首页</asp:HyperLink>
                    </div>
                </FinishNavigationTemplate>
            </asp:Wizard>
                    </ContentTemplate>
                </asp:UpdatePanel>
           
        </div>
    </div>
</asp:Content>
